package pers.cz.common.meta;

import pers.cz.common.annotation.*;

import java.util.Map;

/**
 * @program: Jef-orm
 * @description: 表元数据
 * @author: Cheng Zhi
 * @create: 2023-09-03 10:06
 **/
public class TableMeta {

    private Table table;

    private Map<String,Column> columns;

    private Map<String,Ignore> ignores;

    private Sharding sharding;

    public Table getTable() {
        return table;
    }

    public void setTable(Table table) {
        this.table = table;
    }

    public Map<String, Column> getColumns() {
        return columns;
    }

    public void setColumns(Map<String, Column> columns) {
        this.columns = columns;
    }

    public Map<String, Ignore> getIgnores() {
        return ignores;
    }

    public void setIgnores(Map<String, Ignore> ignores) {
        this.ignores = ignores;
    }

    public Sharding getSharding() {
        return sharding;
    }

    public void setSharding(Sharding sharding) {
        this.sharding = sharding;
    }

}
